package cz.tomasdvorak.cars.wicket.components.converters;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Locale;

public class SimpleDateConverter extends org.apache.wicket.util.convert.converters.DateConverter {
    public static final SimpleDateConverter INSTANCE = new SimpleDateConverter();

    @Override
    public DateFormat getDateFormat(Locale locale) {
        return new SimpleDateFormat("d.M.yyyy");
    }
}
